home *** CD-ROM | disk | FTP | other *** search
/ PCNet 1998 June / PCnet Haziran 1998.iso / Internet / Tools / ANJAVA10.ZIP / DATA1.CAB / Program_Executable_Files / Applet / mandel2 / mandel.txt < prev   
Encoding:
Text File  |  1998-04-23  |  3.5 KB  |  82 lines

  1.  
  2.           Anfy Mandel 2.1 - Copyright (C) by Fabio Ciucci 1996/98
  3.  
  4.  
  5. This applet can generate and animate a realtime Mandelbrot fractal.
  6. Remember, are needed both mandel.class , Lware.class and anfy.class.
  7. You must upload these 3 .class files and insert the <applet> tag on your
  8. html document to add this applet to your page.
  9. This applet is fully parametrized, so you can generate all kinds of
  10. Mandelbrot fractals you want.
  11. Here an example of what you have to write in the html (the things after
  12. the ; are comments with min-max values accepted):
  13.  
  14.  
  15. <applet code="mandel.class" width=150 height=150>  ; Name, Width, Height
  16. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  17. <param name=regcode value="NO">         ; Register code (if you have it)
  18. <param name=reglink value="NO">         ; URL where go optionally when clicked
  19. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  20. <param name=regframename value="_blank"> ; Name of new frame for reglink
  21. <param name=statusmsg value="Mandel applet">  ; Statusbar message
  22. <param name=res value="1">              ; resolution (1-8)
  23. <param name=xstart value="0">           ; X start
  24. <param name=ystart value="7000">        ; Y start
  25. <param name=xmin value="60">            ; X min
  26. <param name=xmax value="-120">          ; X max
  27. <param name=ymin value="60">            ; Y min
  28. <param name=ymax value="-120">          ; Y max
  29. <param name=numpal value="1">           ; Palette number (1-27)
  30. <param name=memdelay value="1000">      ; Memory deallocation delay
  31. <param name=priority value="3">         ; Task priority (1..10)
  32. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  33. Your browser doesn't suppor Java.       ; Msg in no java browsers
  34. </applet>                               ; End of classtag
  35.  
  36.  
  37.                              ---------
  38.  
  39.  
  40. Here detailed instructions about how to change parameters:
  41.  
  42.  
  43. The credits parameter can't be changed otherwise the applet will not work.
  44.  
  45. To activate the reg parameters read the shareware registration notes.
  46. In the "regcode" parameter you have to place the registration code you
  47. purchase from the author. If it is correct and the applet is run from the
  48. registered domain name, you can use "reglink" parameter, where you can specify
  49. an URL where bring user when the applet is clicked.
  50. If you set to "YES" regnewframe, you can specify a frame where load the
  51. reglink:
  52.  
  53. "_blank"  : To load the link in a new blank unnamed browser window.
  54. "_self"   : To load the link into the same window the applet occupies.
  55. "_parent" : To load the link into the immediate FRAMESET parent.
  56. "_top"    : To load the link into the top body of the window.
  57.  
  58. Otherwise the frame name, for example "myframe1".
  59.  
  60. The size of the applet is determined by width and height tags.
  61.  
  62. The res parameter determine the resolution: with res=1 pixels are small,
  63. but effect is slow, with res=8 pixels are too great but effect fast.
  64. I think the best choices are 2-4.
  65.  
  66. About parameters for fractal generation, I don't placed limits to values,
  67. that can be positive or negative, place values at your own risk.
  68. here what does the values, that can be positive or negative:
  69.  
  70.  XMin:  + scroll right,  - scroll left
  71.  XMax:  + less width X,  - enlarge width X
  72.  YMin:  + more height Y, - less height Y
  73.  YMax:  + scroll down,   - scroll up
  74.  
  75. Aniway this is not 100% correct. You are free to experiment with the
  76. mistery of numbers.
  77.  
  78. Are available 27 different palettes, just select the one you prefer for
  79. your web page.
  80.  
  81.  
  82.